﻿<%@ Page Title="" Language="C#" MasterPageFile="~/acpMaster.Master" AutoEventWireup="true" CodeBehind="addQuestion.aspx.cs" Inherits="ACP.Web.UI.admin.addQuestion" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMain" runat="server">

    <%--<asp:Panel ID="pnlGvQuestions" runat="server" >
    <asp:GridView ID="gvQuestions" runat="server" AutoGenerateColumns="true" AllowPaging="true">
    </asp:GridView>
    </asp:Panel>--%>

    <asp:Panel ID="pnlAddQuestions" runat="server" > 
      <fieldset style="padding:50px;">
     <legend>Add Question</legend>
          <table cellpadding="5">
              <tr>
                  <td>
                  Select Exam
                  </td>
                  <td>
                      <asp:DropDownList ID="ddlExampType" runat="server">
                      </asp:DropDownList>
                  </td>
                  <td>
                  Select Choice
                  </td>
                  <td>
                      <asp:DropDownList ID="ddlChoiceType" runat="server">
                      <asp:ListItem Text="Single" Value="S"></asp:ListItem>
                      <asp:ListItem Text="Multiple" Value="M"></asp:ListItem>
                      </asp:DropDownList>
                  </td>
              </tr>
              <tr>
                  <td>
                   Select Question
                  </td>
                  <td>
                      <asp:DropDownList ID="ddlQuestionType" runat="server">
                      <asp:ListItem Text="Sample" Value="1"></asp:ListItem>
                      <asp:ListItem Text="Other" Value="0"></asp:ListItem>
                      </asp:DropDownList>
                  </td>
                   <td>
                  Select Complexity
                  </td>
                  <td>
                      <asp:DropDownList ID="ddlComplexity" runat="server">
                      <asp:ListItem Text="1" Value="1"></asp:ListItem>
                      <asp:ListItem Text="2" Value="2"></asp:ListItem>
                       <asp:ListItem Text="3" Value="3"></asp:ListItem>
                      <asp:ListItem Text="4" Value="4"></asp:ListItem>
                       <asp:ListItem Text="5" Value="5"></asp:ListItem>
                      </asp:DropDownList>
                  </td>
              </tr>
              <tr>
                  <td>
                  Question
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtQuestion" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                  Option 1 (A)
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtOption1" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                   Option 2 (B)
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtOption2" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                   Option 3 (C)
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtOption3" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                   Option 4 (D)
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtOption4" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                   Description
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Rows="4" Columns="30"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                  <td>
                   Answer
                  </td>
                  <td colspan="3">
                      <asp:TextBox ID="txtAnswer" runat="server"></asp:TextBox> <span style="color:Gray;"> Ex:(A,B for Multiple or A for Single choice questions)</span> 
                  </td>
              </tr>
              <tr>
              <td></td>
                  <td colspan="3">
                  <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />&nbsp;
                  <asp:Button ID="btnReset" runat="server" Text="Reset" onclick="btnReset_Click" />
                  </td>
              </tr>
          </table>
      </fieldset>
    </asp:Panel>
</asp:Content>
